import request from '@/utils/request'

// 查询项目获奖列表
export function listCurrent_project_award(query) {
  return request({
    url: '/business/current_project_award/list',
    method: 'get',
    params: query
  })
}

// 查询项目获奖详细
export function getCurrent_project_award(awardId) {
  return request({
    url: '/business/current_project_award/' + awardId,
    method: 'get'
  })
}

// 新增项目获奖
export function addCurrent_project_award(data) {
  return request({
    url: '/business/current_project_award',
    method: 'post',
    data: data
  })
}

// 修改项目获奖
export function updateCurrent_project_award(data) {
  return request({
    url: '/business/current_project_award',
    method: 'put',
    data: data
  })
}

// 删除项目获奖
export function delCurrent_project_award(awardId) {
  return request({
    url: '/business/current_project_award/' + awardId,
    method: 'delete'
  })
}
